package com.fuqi.android.zhongcai.business.shuig.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.business.shuig.request.result.CheckInfoListResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*

*  查询当月抽查列表（罚单或所有抽查）接口
* */

@Deprecated
public class PerMonthCheckedListApi extends AbsRequest<PerMonthCheckedListApi.PerMonthCheckedListParams, CheckInfoListResult> {

    public PerMonthCheckedListApi(PerMonthCheckedListParams perMonthCheckedListParams, Listener<CheckInfoListResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getPerMonthCheckedListUrl(), perMonthCheckedListParams, listener, errorListener, CheckInfoListResult.class);
    }

    public static class PerMonthCheckedListParams extends BaseParams {

        public PerMonthCheckedListParams(String isPunish) {

                //  1 只查罚单 0  所有抽查
                put("isPunish", isPunish);

        }
    }


}
